
LAB    = DNS_Remote_cn
LABPDF = $(LAB).pdf

all: $(LABPDF)


%.pdf: %.tex
	xelatex $<
	xelatex $<


bib: $(LAB)

$(LAB):
	xelatex $@.tex
	bibtex $@
	xelatex $@.tex
	xelatex $@.tex


clean:
	rm -f *.log *.dvi *.aux *.bbl *.blg *~ *.out *.det 
	@@rm -f *~

